package com.zeta.eduservice.service.impl;

import com.zeta.eduservice.entity.EduAcademy;
import com.zeta.eduservice.entity.EduMajor;
import com.zeta.eduservice.mapper.EduMajorMapper;
import com.zeta.eduservice.service.EduMajorService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.io.Serializable;

import org.springframework.stereotype.Service;

/**
 * <p>
 * 专业 服务实现类
 * </p>
 *
 * @author zeta
 * @since 2020-08-17
 */
@Service
public class EduMajorServiceImpl extends ServiceImpl<EduMajorMapper, EduMajor> implements EduMajorService {

	@Override
	public boolean removeById1(Serializable id) {
	    Integer result = baseMapper.deleteById(id);
	    
	    return null != result && result > 0;
	}




}
